package com.digital.herbarium.Mapper;

import com.digital.herbarium.Entity.Comment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CommentMapper {


    List<Comment> getCommentInfo(Comment comment);
    void delCommentInfo(@Param("ids") Long[] id);
    void addCommentInfo(Comment comment);
    void editCommentInfo(Comment comment);
    void to_top(Comment comment);
}
